body,html{
    overflow: hidden;
}

/*后添加的链接 Yener*/
a:link {
	color: #fff;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #fff;
}
a:hover {
	text-decoration: none;
	color: #fff;
}
a:active {
	text-decoration: none;
	color: #fff;
}
/*end*/
	
.link {
    fill: none;
    stroke: #666;
    stroke-width: 1.5px;
}

#licensing {
    fill: green;
}

.link.licensing {
    stroke: green;
}

.link.resolved {
    stroke-dasharray: 0, 2 1;
}

circle {
    fill: #ccc;
    stroke: #333;
    stroke-width: 1.5px;
}

text {
    font: 12px Microsoft YaHei;
    pointer-events: none;
    text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}

.linetext {
    font-size: 12px;
}

#canvas {
    position: relative;
    z-index: 0;
    /*top: 0;
    right: 0;
    left: 0;
    bottom: 0;*/
    width: 100%;
    height: 100%;
    /*margin-top: 60px;*/
    /*margin-left: 140px;*/
}
.relation, .type{
    background: rgba(31, 145, 221, 1);
    color: white;
}

#search {
    position: fixed;
    top: 80px; /*调整搜索框原来50*/
    /*left: 50%;*/
    background: #fff;
    display: flex;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    border-radius: 24px;
    z-index: 3;
    height: 44px;
    margin: 0 auto;
    width: 350px;
    margin-left: 20px;
    padding-left: 10px;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
    outline: none;

}

#d3{
    /* margin-top: 105px; */ /*设置知识图谱上边距*/
	margin-top: 0px;
    z-index: 2;
    position: absolute;
    left: 0px;
    top: 0px;
}


/*add by Yener*/
#top {
	width: 100%;
	height: 60px;
	background: rgba(15, 25, 50, 0.3);
	color: #fff;
	line-height: 60px;
	text-align: center;
	font-size: 30px;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0
}

body {
    /*font-family: microsoft yahei !important;*/
    /*background-color: #fdffe0*/
}

h2 {
    display: block;
    font-size: 1.3em;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    font-weight: 400;
    margin: 15px 0 20px
}

:focus {
    outline: 0
}

h3 {
    font-weight: 400;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
    color: #5a0404;
    margin: 30px 0 20px
}

#container {
    width: 800px;
    margin: 0 auto
}

#search-box {
    position: relative;
    width: 400px;
    margin: 0 auto;
    display: inline
}

.wrapper {
    width: 750px;
    margin: 0 auto
}

#message {
    margin-top: 40px;
    margin-bottom: 50px;
    font-size: 20px;
    text-align: center
}

.proposal-box {
    position: absolute;
    height: auto;
    border-left: 1px solid rgba(0, 0, 0, .11);
    border-right: 1px solid rgba(0, 0, 0, .11);
    left: 35px;
    z-index: 3;
    top: 65px;
    width: 320px;
}

.proposal-list {
    list-style: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .44);
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0
}

.proposal-list li {
    text-align: left;
    padding: 5px;
    font-family: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, .16);
    height: 33px;
    line-height: 25px;
    background-color: rgba(255, 255, 255, .8);
    cursor: pointer
}

li.proposal:hover {
    background-color: rgba(175, 42, 0, .52);
    color: #fff
}